package com.zhixiang.xaec.service.safebase.safecultruetrain.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.zhixiang.core.dao.BaseDao;
import com.zhixiang.core.service.impl.BaseServiceImpl;
import com.zhixiang.xaec.dao.safebase.safecultruetrain.CredentialsDao;
import com.zhixiang.xaec.entity.safebase.safecultruetrain.Credentials;
import com.zhixiang.xaec.service.safebase.safecultruetrain.CredentialsService;
@Service
public class CredentialsServiceImpl extends BaseServiceImpl<Credentials,Long> implements CredentialsService{

	@Override
	public void delete(String[] ids) {
		   for(String id:ids){
		         getDao().remove(Long.valueOf(id));
		       }
		
	}

	@Override
	@Resource(type=CredentialsDao.class)
	public void setBaseDao(BaseDao<Credentials, Long> dao) {
		setDao(dao);
		
	}

}
